package com.amado.arthas;

/**
 * @author wangyulong
 * @version 1.5.0
 * @date 2020/11/8 17:42
 */
public class Test1 {
    public static void main(String[] args) {
        Test1 test1 = new Test1();
        for (int i = 0; i < 100; i++) {
            test1.test1();
            System.out.println(i);
        }
    }

    private void test1() {
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        test2();
    }

    private void test2() {
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        test3();
    }

    private void test3() {
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
